<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>emp-toolkit: /Users/wangxiao/git/emp-toolkit/emp-input-validity/bench/input-check-malicious.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-full-doxygen.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">emp-toolkit
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('input-check-malicious_8cpp.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">input-check-malicious.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="emp-tool_8h_source.html">emp-tool/emp-tool.h</a>&gt;</code><br />
<code>#include &quot;<a class="el" href="iv_8h_source.html">input-validity/iv.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="bench__input-check_8h_source.html">bench/bench_input-check.h</a>&quot;</code><br />
<code>#include &lt;iomanip&gt;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ab973317ef30b5d90c61554e438b121a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#ab973317ef30b5d90c61554e438b121a0">compute</a> (<a class="el" href="class_bit.html">Bit</a> *res, <a class="el" href="class_bit.html">Bit</a> *in, <a class="el" href="class_bit.html">Bit</a> *in2)</td></tr>
<tr class="separator:ab973317ef30b5d90c61554e438b121a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6307c77789c405172f1ab778e39bbf7"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#ab6307c77789c405172f1ab778e39bbf7">bench_sha1</a> ()</td></tr>
<tr class="separator:ab6307c77789c405172f1ab778e39bbf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24e822504e7d564ab25bcfa1104ae77b"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#a24e822504e7d564ab25bcfa1104ae77b">bench_sha2</a> ()</td></tr>
<tr class="separator:a24e822504e7d564ab25bcfa1104ae77b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3292867db90ebf90502f5a9494fd9c83"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#a3292867db90ebf90502f5a9494fd9c83">bench_aes</a> ()</td></tr>
<tr class="separator:a3292867db90ebf90502f5a9494fd9c83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4935c3586540bc234793b1f3d1f384ea"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#a4935c3586540bc234793b1f3d1f384ea">bench_add</a> ()</td></tr>
<tr class="separator:a4935c3586540bc234793b1f3d1f384ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr class="separator:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a32303458d819a2554025906211c1635e"><td class="memItemLeft" align="right" valign="top">const string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#a32303458d819a2554025906211c1635e">circuit_file_location</a> = <a class="el" href="utils_8h.html#aa25ab28a33962a3b7dcae17b5319d156">macro_xstr</a>(EMP_CIRCUIT_PATH)</td></tr>
<tr class="separator:a32303458d819a2554025906211c1635e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63c89c04d1feae07ca35558055155ffb"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#a63c89c04d1feae07ca35558055155ffb">port</a></td></tr>
<tr class="separator:a63c89c04d1feae07ca35558055155ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefdd5aa9f02e7cb8d21ea22b0e6b03df"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="input-check-malicious_8cpp.html#aefdd5aa9f02e7cb8d21ea22b0e6b03df">party</a></td></tr>
<tr class="separator:aefdd5aa9f02e7cb8d21ea22b0e6b03df"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a4935c3586540bc234793b1f3d1f384ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4935c3586540bc234793b1f3d1f384ea">&sect;&nbsp;</a></span>bench_add()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double bench_add </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3292867db90ebf90502f5a9494fd9c83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3292867db90ebf90502f5a9494fd9c83">&sect;&nbsp;</a></span>bench_aes()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double bench_aes </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab6307c77789c405172f1ab778e39bbf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6307c77789c405172f1ab778e39bbf7">&sect;&nbsp;</a></span>bench_sha1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double bench_sha1 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a24e822504e7d564ab25bcfa1104ae77b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24e822504e7d564ab25bcfa1104ae77b">&sect;&nbsp;</a></span>bench_sha2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double bench_sha2 </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ab973317ef30b5d90c61554e438b121a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab973317ef30b5d90c61554e438b121a0">&sect;&nbsp;</a></span>compute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void compute </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_bit.html">Bit</a> *&#160;</td>
          <td class="paramname"><em>res</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_bit.html">Bit</a> *&#160;</td>
          <td class="paramname"><em>in</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_bit.html">Bit</a> *&#160;</td>
          <td class="paramname"><em>in2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c04138a5bfe5d72780bb7e82a18e627">&sect;&nbsp;</a></span>main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int main </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a id="a32303458d819a2554025906211c1635e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32303458d819a2554025906211c1635e">&sect;&nbsp;</a></span>circuit_file_location</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const string circuit_file_location = <a class="el" href="utils_8h.html#aa25ab28a33962a3b7dcae17b5319d156">macro_xstr</a>(EMP_CIRCUIT_PATH)</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aefdd5aa9f02e7cb8d21ea22b0e6b03df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aefdd5aa9f02e7cb8d21ea22b0e6b03df">&sect;&nbsp;</a></span>party</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int party</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a63c89c04d1feae07ca35558055155ffb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63c89c04d1feae07ca35558055155ffb">&sect;&nbsp;</a></span>port</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int port</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_a27d30adcb009e917fb5e1bf5d93fdaa.html">emp-input-validity</a></li><li class="navelem"><a class="el" href="dir_2a6d781984ce253abd9947aac7ce342a.html">bench</a></li><li class="navelem"><a class="el" href="input-check-malicious_8cpp.html">input-check-malicious.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
  </ul>
</div>
</body>
</html>
